<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <link rel="stylesheet" href="./assets/element/index.css">
    <link rel="stylesheet" href="/css/login.css">
</head>
<body>
    <div id="app">
            <el-form :model="loginFrom"   status-icon ref="loginFrom"  label-width="100px" class="loginContainer">
                <h3 class="loginTitle">登录</h3>
                <el-form-item style="margin-left: 0" prop="account">
                    <el-input v-model="loginFrom.account" placeholder="请输入账号" ></el-input>
                </el-form-item>
                <el-form-item prop="password">
                    <el-input type="password" v-model="loginFrom.password" placeholder="密码"></el-input>
                </el-form-item>
                <el-form-item>
                    <el-button type="primary" @click="login()">登录</el-button>
                    <el-button @click="toRegister()">注册</el-button>
                </el-form-item>
            </el-form>
    </div>
</body>
<script src="./assets/element/vue.js"></script>
<script src="./assets/element/index.js"></script>
<script src="assets/jquery/jquery-2.1.1.min.js"></script>
<script src="js/login.js"></script>

</html>